//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02A
TN_Widget.CreateTable([['Louis C.K.','McCaw Hall','Seattle, WA','Wednesday','7/16/2025','7:30 PM','7010963','Louis-C-K--7-16-2025'],['Louis C.K.','McCaw Hall','Seattle, WA','Thursday','7/17/2025','7:30 PM','7010964','Louis-C-K--7-17-2025'],['The Journey of a Legendary Landscape Painting','McCaw Hall','Seattle, WA','Friday','7/25/2025','7:30 PM','7190109','The-Journey-of-a-Legendary-Landscape-Painting-7-25-2025'],['The Journey of a Legendary Landscape Painting','McCaw Hall','Seattle, WA','Saturday','7/26/2025','7:30 PM','7191956','The-Journey-of-a-Legendary-Landscape-Painting-7-26-2025'],['The Rose','McCaw Hall','Seattle, WA','Friday','8/1/2025','8:00 PM','7074007','The-Rose-8-1-2025'],['Michael Learns To Rock','McCaw Hall','Seattle, WA','Sunday','8/24/2025','7:00 PM','7077907','Michael-Learns-To-Rock-8-24-2025'],['Taylor Tomlinson','McCaw Hall','Seattle, WA','Friday','9/5/2025','7:00 PM','6984239','Taylor-Tomlinson-9-5-2025'],['Taylor Tomlinson','McCaw Hall','Seattle, WA','Saturday','9/6/2025','4:00 PM','7009381','Taylor-Tomlinson-9-6-2025'],['Taylor Tomlinson','McCaw Hall','Seattle, WA','Saturday','9/6/2025','7:00 PM','6984240','Taylor-Tomlinson-9-6-2025'],['Taylor Tomlinson','McCaw Hall','Seattle, WA','Sunday','9/7/2025','4:00 PM','7144572','Taylor-Tomlinson-9-7-2025'],['Taylor Tomlinson','McCaw Hall','Seattle, WA','Sunday','9/7/2025','7:00 PM','7036327','Taylor-Tomlinson-9-7-2025'],['fromis_9','McCaw Hall','Seattle, WA','Monday','9/8/2025','7:30 PM','7247651','fromis-9-9-8-2025'],['Nikki Glaser','McCaw Hall','Seattle, WA','Friday','9/12/2025','7:00 PM','6989804','Nikki-Glaser-9-12-2025'],['Nikki Glaser','McCaw Hall','Seattle, WA','Saturday','9/13/2025','7:00 PM','6980899','Nikki-Glaser-9-13-2025'],['Sarah Millican','McCaw Hall','Seattle, WA','Tuesday','10/28/2025','8:00 PM','6889409','Sarah-Millican-10-28-2025'],['A Drag Queen Christmas','McCaw Hall','Seattle, WA','Wednesday','12/3/2025','7:30 PM','7206242','A-Drag-Queen-Christmas-12-3-2025'],['Gabor Mate','McCaw Hall','Seattle, WA','Monday','4/13/2026','7:30 PM','7208406','Gabor-Mate-4-13-2026']],'McCaw Hall','http://www.ticketnetwork.com/ticket/McCaw-Hall-events.aspx');